package com.zja.dao;

import com.zja.model.Favorite;

import java.util.List;


/**
 * @author JA
 */
public interface FavoriteDao {
    List<Favorite> selectAll();

    Favorite selectById(Long id);

    boolean insert(Favorite favorite);

    boolean update(Favorite favorite);

    boolean deleteById(Long id);
}
